User Guides > PCC with Legacy Services (Proxy Server) > How To's for PCC with Legacy Services (Proxy Server) > How To's - for the Imaging Service > How To Enable Headless Mode |
Strict settings of the firewall on a Linux environment may prevent connecting JRE with X11 Window Server. Therefore, the class X11GraphicsEnvironment cannot be initialized:
Example of Possible Errors |
Copy Code
|
---|---|
INFO | jvm 1 | 2013/05/01 19:40:31 | Exception in thread "Thread-22" java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. INFO | jvm 1 | 2013/05/01 19:41:28 | Exception in thread "Thread-38" java.lang.NoClassDefFoundError: Could not initialize class sun.awt.X11GraphicsEnvironment |
To fix this issue, the headless mode should be enabled in JRE. Headless mode does not require a DISPLAY connection.
Example Copy Codejrunner.java.additional.2=-Djava.awt.headless=true
This line should be added right after the line where "jrunner.java.additional.1=..." is defined.